from app import create_app
from app import db

app = create_app()

@app.shell_context_processor
def make_shell_context():
    return {'db': db}

if __name__ == '__main__':
    app.run(debug=True, host='127.0.0.1', port=5000)